<template>
  <Layout hasBacktop>
    <div class="container">
      <div class="article_list">
        <div v-for="(article, index) in articles" :key="index" class="article"></div>
      </div>
    </div>
  </Layout>
</template>

<script>
import Layout from '@/layout/Layout'

export default {
  components: { Layout },
  data () {
    return {
      articles: [
        { title: '随心小文', color: '#c79efe' },
        { title: '技术博客', color: '#b7d6ec' },
        { title: '技术博客', color: '#b7d6ec' },
        { title: '技术博客', color: '#b7d6ec' },
        { title: '技术博客', color: '#b7d6ec' },
        { title: '技术博客', color: '#b7d6ec' },
        { title: '技术博客', color: '#b7d6ec' },
        { title: '技术博客', color: '#b7d6ec' },
        { title: '技术博客', color: '#b7d6ec' },
      ]
    }
  }
}
</script>

<style lang="less" scoped>
  .container{
    width: 680px;
    margin: 20px auto;
    .article_list{
      .article{
        margin-bottom: 10px;
        background-color: #fff;
        height: 200px;
      }
    }
  }
</style>
